<?php
namespace Api\Controller;
use Think\Controller;
class CourseController extends Controller {
	
    public function getcourselistByClubId(){
        $course=M('course');
        $clubid=$_GET['clubid'];
        $c=$course->where("clubid='$clubid'")->select();
        echo json_encode($c);
    }
    
}
?>